Fix 2.4 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
#include <linux/pci.h>
#include <linux/version.h>
#include <asm/io.h>
-#include <asm/tlbflush.h>
#include <asm-xen/balloon.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#include <asm/tlbflush.h>
+#else
#define pte_offset_kernel pte_offset
#define pud_t pgd_t
#define pud_offset(d, va) d
#include <linux/vmalloc.h>
#include <asm/page.h>
#include <asm/pgtable.h>
-#include <asm/tlbflush.h>
#include <asm-xen/hypervisor.h>
#include <asm-xen/balloon.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#include <linux/percpu.h>
+#include <asm/tlbflush.h>
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)